package cn.wolfcode.mapper;

import cn.wolfcode.domain.Department;
import cn.wolfcode.qo.QueryObject;

import java.util.List;

public interface DepartmentMapper {
    void deleteByPrimaryKey(Long id);

    void insert(Department department);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    void updateByPrimaryKey(Department department);



    List<Department> queryAll(QueryObject qo);
}